#pragma once

#include <string>



class GlobalException: public std::exception
{
std::string s;
public:
	 GlobalException(std::string _s)
		 :s(_s)
	 {
	 }
	 virtual ~GlobalException(){};
	virtual const char * what() const
	{
		return s.c_str();
	}
};